package com.dy.service;

import com.dy.bean.Sugar;
import com.dy.bean.SugarT;
import com.dy.dao.SugarDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @projectName: day0617
 * @package: com.dy.service
 * @className: SugarServiceImpl
 * @author: DuanYu
 * @description: TODO
 * @date: 2024/6/17 9:13
 * @version: 1.0
 */
@Service
public class SugarServiceImpl implements SugarService {
    @Autowired
    SugarDao sugarDao;
    @Override
    public List<Sugar> showTwo() {
        return sugarDao.showTwo();
    }

    @Override
    public List<Sugar> showAge() {
        return sugarDao.showAge();
    }

    @Override
    public List<Sugar> showYys() {
        return sugarDao.showYys();
    }

    @Override
    public List<SugarT> showPp() {
        return sugarDao.showPp();
    }
}
